package com.sac.approval.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.sac.approval.dao.LineDao;
import com.sac.approval.domain.LineDO;
import com.sac.approval.service.LineService;



@Service
public class LineServiceImpl implements LineService {
	@Autowired
	private LineDao lineDao;
	
	@Override
	public LineDO get(Integer lineId){
		return lineDao.get(lineId);
	}
	
	@Override
	public List<LineDO> list(Map<String, Object> map){
		return lineDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return lineDao.count(map);
	}
	
	@Override
	public int save(LineDO line){
		return lineDao.save(line);
	}
	
	@Override
	public int update(LineDO line){
		return lineDao.update(line);
	}
	
	@Override
	public int remove(Integer lineId){
		return lineDao.remove(lineId);
	}
	
	@Override
	public int batchRemove(Integer[] lineIds){
		return lineDao.batchRemove(lineIds);
	}
	
}
